﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<EAILogWebSite.Table_Log>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Detail
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Detail</h2>
    <fieldset>
        <legend>Fields</legend>
        <div class="display-label">
            Id</div>
        <div class="display-field">
            <%: Model.Id %></div>
        <div class="display-label">
            MsgType</div>
        <div class="display-field">
            <%: Model.MsgType %></div>
        <div class="display-label">
            LogDateTime</div>
        <div class="display-field">
            <%: String.Format("{0:g}", Model.LogDateTime) %></div>
        <div class="display-label">
            ESBHdVer</div>
        <div class="display-field">
            <%: Model.ESBHdVer %></div>
        <div class="display-label">
            SrvDate</div>
        <div class="display-field">
            <%: Model.SrvDate %></div>
        <div class="display-label">
            SrvTime</div>
        <div class="display-field">
            <%: Model.SrvTime %></div>
        <div class="display-label">
            SenderID</div>
        <div class="display-field">
            <%: Model.SenderID %></div>
        <div class="display-label">
            ReceiverID</div>
        <div class="display-field">
            <%: Model.ReceiverID %></div>
        <div class="display-label">
            SrvOpName</div>
        <div class="display-field">
            <%: Model.SrvOpName %></div>
        <div class="display-label">
            SrvOpVer</div>
        <div class="display-field">
            <%: Model.SrvOpVer %></div>
        <div class="display-label">
            MsgID</div>
        <div class="display-field">
            <%: Model.MsgID %></div>
        <div class="display-label">
            CorrID</div>
        <div class="display-field">
            <%: Model.CorrID %></div>
        <div class="display-label">
            ActityTimeStamp</div>
        <div class="display-field">
            <%: Model.ResField5 %></div>
        <div class="display-label">
            ESBRspCode</div>
        <div class="display-field">
            <%: Model.ESBRspCode %></div>
        <div class="display-label">
            ESBRspDec</div>
        <div class="display-field">
            <%: Model.ESBRspDec %></div>
        <div class="display-label">
            <%
                if (string.IsNullOrEmpty(Model.SourceXML2))
                    Writer.Write("SourceXML");
                else if (Model.MsgType == "Request")
                    Writer.Write("Transfering Xml");
                else
                    Writer.Write("Transferd Xml");
            %>
        </div>
        <div class="display-field">
            <%: Model.SourceXML %></div>
        <div class="display-label">
            <%
                if (string.IsNullOrEmpty(Model.SourceXML2))
                    Writer.Write("");
                else if (Model.MsgType == "Request")
                    Writer.Write("Transferd Xml");
                else
                    Writer.Write("Transfering Xml");
            %>
        </div>
        <div class="display-field">
            <%: Model.SourceXML2 %></div>
    </fieldset>
   
</asp:Content>
